@charset "utf-8";

.wu-loading-svg {
	stroke: #fff;
	fill: #fff;
	vertical-align: middle;
	display: inline-block;
	width: 30px;
	height: 30px;
}

/* 遮罩 */
.wu-mask-transparent {
	position: fixed;
	z-index: 199;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	opacity: 0;
}

.wu-mask-black {
	background-color: rgba(0, 0, 0, .6);
	-webkit-transition: all .4s;
	transition: all .4s;
}

/* 弹出最外层 */
.wu-toast {
	opacity: 0;
	-webkit-transition: all .4s;
	transition: all .4s;
	position: relative;
	z-index: 899;
}

/*白色满屏背景*/
.bg-white {
	background-color: #fff;
	opacity: 1;
}

.wu-block {
	max-width: 270px;
	position: fixed;
	top: 50%;
	left: 50%;
	-webkit-transform: translate3d(-50%,-50%,0);
	transform: translate3d(-50%,-50%,0);
	z-index: 199;
}

/* 小块黑色背景 */
.wu-toast-box {
	max-width: 270px;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	background: rgba(17, 17, 17, .8);
	text-align: center;
	border-radius: 5px;
	color: #FFFFFF;
	padding: 10px 16px;
	font-size: 16px;
	-webkit-transform: scale(.8);
	transform: scale(.8);
	-webkit-transition: all .4s;
	transition: all .4s;
}

/*.wu-toast-loading {
	-webkit-transform: translate3d(-50%,-50%,0) scale(1);
	transform: translate3d(-50%,-50%,0) scale(1);
}*/

.wu-toast-box-transparent {
	background-color: transparent;
}

/* toast icon 提示框公共的图标大小 */
.wu-toast-box .wu-icon {
	font-size: 24px;
}

.wu-toast-box .wu-toast-content {
	color: #fff;
	padding: 0 2px;
}

/*icon - loading*/
.wu-loading {
	display: inline-block;
	width: 28px;
	height: 28px;
	background-image: url();
	animation: weuiLoading 1s steps(12, end) infinite;
	background-size: 100%;
	background-position: center;
}

.icon-loading {
	-webkit-animation: weuiLoading 1s steps(12, end) infinite;
	animation: weuiLoading 1s steps(12, end) infinite;
}

@-webkit-keyframes weuiLoading {
	0% {
		transform: rotate3d(0, 0, 1, 0deg);
	}
	100% {
		transform: rotate3d(0, 0, 1, 360deg);
	}
}

@keyframes weuiLoading {
	0% {
		transform: rotate3d(0, 0, 1, 0deg);
	}
	100% {
		transform: rotate3d(0, 0, 1, 360deg);
	}
}

/* 上面滑下来的信息提示框 */
.wu-message {
	width: 100%;
	line-height: 36px;
	position: fixed;
	top: -36px;
	left: 0;
	z-index: 9;
	background: rgba(17, 17, 17, 0.9);
	text-align: center;
	color: #fff;
	font-size: 14px;
	transition: all .4s;
	-webkit-transition: all .4s;
}

/*弹窗*/
.wu-dialog {
	opacity: 0;
	-webkit-transition: all .4s;
	transition: all .4s;
	position: relative;
	z-index: 999;
}

.dialog-content {
	width: 280px;
	position: fixed;
	top: 50%;
	left: 50%;
	background-color: #fff;
	z-index: 999;
	text-align: center;
	border-radius: 4px;
	overflow: hidden;
	-webkit-transform: translate3d(-50%,-50%,0) scale(.8);
	transform: translate3d(-50%,-50%,0) scale(.8);
	-webkit-transition: all .4s;
	transition: all .4s;
}

.dialog-content .dialog-title {
	padding: 16px 16px 0;
	font-size: 18px;
}

.dialog-content .dialog-body {
	padding: 10px 15px 15px;
	position: relative;
}

.dialog-content .dialog-text {
	font-size: 14px;
	color: #666;
}

.dialog-content .dialog-input {
	padding: 0 10px;
	margin-top: 6px;
}

.dialog-content .dialog-input input {
	width: 100%;
	height: 100%;
	font-size: 14px;
	border: 1px solid #dedede;
	border-radius: 4px;
	padding: 4px 6px;
}

.dialog-content .dialog-foot {
	display: -webkit-flex;
	display: flex;
	position: relative;
}

.dialog-content .dialog-foot:after {
	position: absolute;
	z-index: 15;
	right: 0;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
	content: '';
	-webkit-transform: scaleY(.5);
	transform: scaleY(.5);
	background-color: #ddd;
}

.dialog-content .wu-btn {
	-webkit-flex: 1;
	flex: 1;
	display: block;
	line-height: 40px;
	font-size: 16px;
	font-weight: normal;
	color: #999;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	padding: 0 10px;
}

.dialog-content .dialog-btn-confirm {
	color: #007AFF;
}

.dialog-content .wu-btn:after {
	position: absolute;
	z-index: 15;
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	display: block;
	width: 1px;
	height: 100%;
	content: '';
	-webkit-transform: scaleX(.5);
	transform: scaleX(.5);
	-webkit-transform-origin: 100% 50%;
	transform-origin: 100% 50%;
	background-color: #ddd;
}

/* 底部弹出菜单  */
.wu-actionsheet {
	position: relative;
	z-index: 998;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.wu-actionsheet-main {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background-color: #fafafa;
	font-size: 16px;
	text-align: center;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: all .4s;
	transition: all .4s;
}

.wu-actionsheet-cell,
.wu-actionsheet-title,
.wu-actionsheet-cancel {
	background-color: #fff;
	padding: 12px 0;
}

.wu-actionsheet-title {
	padding: 20px 0;
	color: #999;
	font-size: 14px;
}

.wu-actionsheet-cell {
	text-align: center;
	position: relative;
}

.wu-actionsheet-cell:before {
	content: '';
	display: block;
	height: 1px;
	width: 100%;
	background-color: #e6e6e6;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.wu-actionsheet-cancel {
	margin-top: 5px;
}

.wu-animate-in .wu-actionsheet-main {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* 错误页面 */
.start-box-refresh {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	background-color: #fff;
	color: #999;
	z-index: 199;
}

.start-box-refresh .start-box-icon {
	margin-bottom: 50px;
}

.start-box-refresh .wu-icon {
	font-size: 50px;
}

/* 动画进入 */
.wu-animate-fade-in {
	opacity: 1;
	-webkit-animation: fadeIn .3s ease;
	animation: fadeIn .3s ease;
}

.wu-animate-in,
.wu-animate-in .wu-mask-black,
.wu-animate-in .wu-toast-box,
.wu-animate-in .dialog-content {
	opacity: 1;
}

.wu-animate-in .dialog-content {
	-webkit-transform: translate3d(-50%,-50%,0) scale(1);
	transform: translate3d(-50%,-50%,0) scale(1);
}
.wu-animate-in .wu-toast-box {
	-webkit-transform:  scale(1);
	transform: scale(1);
}

/* 动画结束 */
.wu-animate-fade-out {
	opacity: 0;
	-webkit-transform: scale(.8);
	transform: scale(.8);
}

/* .wu-animate-out,
.wu-animate-out .wu-mask-black {
	opacity: 0;
} */
.wu-animate-out .dialog-content,
.wu-animate-out .wu-toast-box,
.wu-animate-out .wu-mask-black {
	opacity: 0;
}

.wu-animate-out .wu-actionsheet-main {
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

.wu-animate-out .dialog-content {
	-webkit-transform: translate3d(-50%,-50%,0);
	transform: translate3d(-50%,-50%,0);
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(.8)
	}
	to {
		opacity: 1;
		transform: scale(1)
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: scale(.8)
	}
	to {
		opacity: 1;
		transform: scale(1)
	}
}

/* 按钮触碰状态  */
.wu-btn-hover {
	background-color: rgba(200, 200, 200, 0.2);
}